package arvore;
import visitor.VisitorTypeInterface;
import visitor.VisitorInterface;

public class Identifier {
  public String id;

  public Identifier(String as) { 
    id=as;
  }

  public void accept(VisitorInterface v) {
    v.visit(this);
  }

  public Type accept(VisitorTypeInterface v) {
    return v.visit(this);
  }

  public String toString(){
    return id;
  }
}
